import 'core-js/fn/object/assign';
import React from 'react';
import ReactDOM from 'react-dom';
import {BrowserRouter as Router , Route } from 'react-router-dom';
import App from './components/Main';
import Nav from './components/nav/nav'
import Bind from './components/app/bind_fei';
import Name from './components/app/name_fei';
import KeKong from './components/app/kekong';
import Nokekong from './components/app/nokekong'

// Render the main component into the dom
ReactDOM.render(
  <Router>
     <div>
        {/* <App/> */}
        <Nav/>
        <Route exact path='/' component={Bind}></Route>
        <Route path='/name' component={Name}></Route>
        <Route path='/kekong' component={KeKong}></Route>
        <Route path='/nokekong' component={Nokekong}></Route>
     </div>
  </Router>,
  document.getElementById('App')
);
